package com.springboot.demo.module.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.sql.Timestamp;
import java.util.UUID;

/**
 * 用户pojo
 * @author Francis
 * @date 2019-02-24 11:15
 */
@Data
@TableName("t_sys_user")
public class TSysUser extends Model<TSysUser> {

  private static final long serialVersionUID = 1L;

  @TableId(type = IdType.UUID)
  private String userId;

  private String loginName;

  private String nickName;

  private String userPassword;

  /**
   * 用户状态：0-未激活、1-正常、2-锁定、3-删除
   */
  private Integer state;

  private Timestamp lastLoginTime;

  private Timestamp createTime;

  private String remark;

}
